package com.account.book.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author liang-hw
 * @className BookDefaultEnum
 * @description 默认账本信息
 * @date 2023/11/11 10:44:18
 */
@Getter
@RequiredArgsConstructor
public enum BookDefaultEnum implements EnumTemplate {
    /**
     * 0-否
     */
    IS_NOT_DEFAULT(0, "否"),

    /**
     * 1-是
     */
    IS_DEFAULT(1, "是");

    private final Integer value;

    private final String title;

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getTitle() {
        return this.title;
    }
}
